<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../include/head.jspf"%>  

<head>
<title></title>
</head>

<body>
<script type="text/javascript">
	<c:if test="${errorId!=''}">
		alert('<spring:message code="${errorId}" arguments="${arguments}"/>');
	</c:if>
	<c:choose>
		<c:when test="${goPage==SYSTEM_ALERT_GOPAGE_BACK}">
			if($.browser.msie) {
				history.go(-2);
			}else{
				history.go(-1);
			}
		</c:when>
		<c:when test="${goPage==SYSTEM_ALERT_GOPAGE_HOME}">
			window.top.open('index','_self');
		</c:when>
		<c:when test="${goPage==SYSTEM_ALERT_GOPAGE_CLOSE}">
			window.opener=null;
			window.top.open('','_self'); 
			window.close();
		</c:when>
		<c:when test="${goPage==SYSTEM_ALERT_GOPAGE_LOGOUT}">
			window.top.open('logout','_self');
		</c:when>
		<c:otherwise>
			window.top.open('${goPage}','_self');
		</c:otherwise>
	</c:choose>
</script>
</body>

</html>
